Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

fix: prevent bn254 feature flag always being enabled #225

Merged
merged 2 commits into from
Apr 26, 2023

Conversation

TomAFrench
Copy link
Member

Related issue(s)

(If it does not already exist, first create a GitHub issue that describes the problem this Pull Request (PR) solves before creating the PR and link it here.)

Resolves (link to issue)

Description

Summary of changes

Currently we're always turning on the bn254 field due to default feature flags, this makes it impossible to use any different fields. I've fixed the feature flag setup so that only the field supplied to the acvm package gets turned on.

The second commit contains some miscellaneous cleanup of the various toml files.

Dependency additions / changes

(If applicable.)

Test additions / changes

(If applicable.)

Checklist

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt with default settings.
  • I have linked this PR to the issue(s) that it resolves.
  • I have reviewed the changes on GitHub, line by line.
  • I have ensured all changes are covered in the description.

Additional context

(If applicable.)

@TomAFrench TomAFrench changed the title fix: allow selection of bls13_381 field flags fix: prevent bn254 feature flag always being enabled Apr 23, 2023
@TomAFrench TomAFrench requested a review from kevaundray April 24, 2023 17:27
Copy link
Contributor

@kevaundray kevaundray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me -- left some comments

@TomAFrench TomAFrench requested a review from kevaundray April 25, 2023 15:30
@TomAFrench TomAFrench enabled auto-merge April 26, 2023 12:14
@TomAFrench TomAFrench added this pull request to the merge queue Apr 26, 2023
Merged via the queue into master with commit 82eee6a Apr 26, 2023
@github-actions github-actions bot mentioned this pull request Apr 26, 2023
@TomAFrench TomAFrench deleted the fix-field-selection branch April 26, 2023 19:58
@github-actions github-actions bot mentioned this pull request Apr 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants